/**
 * Copyright (c) 2018, Alex. All rights reserved.
 */
package com.oschina.bottle.poi;

import java.io.IOException;

/**
 * 文件导出
 *
 * @author <a href="mailto:zhongchao@gegejia.com">zhong</a>
 * @version 1.0 2018/1/23
 * @since 1.0
 */
public interface Exporter {

    /**
     * 导出: 封装文件对象
     *
     * @param fileInfo      封装文件参数
     * @throws IOException  流异常
     */
    void export(FileInfo fileInfo) throws IOException;
}
